Memory protocol

ABSTRACT

The present disclosure includes apparatuses and methods related to a memory protocol. An example apparatus can perform operations on a number of block buffers of the memory device based on commands received from a host using a block configuration register, wherein the operations can read data from the number of block buffers and write data to the number of block buffers on the memory device.

PRIORITY INFORMATION

This application is a Divisional of U.S. application Ser. No. 16/719,268, filed on Dec. 18, 2019, which will issue as U.S. Pat. No. 11,340,787 on May 24, 2022, which is a Divisional of U.S. application Ser. No. 15/182,821, filed on Jun. 15, 2016, now issued as U.S. Pat. No. 10,534,540 on Jan. 14, 2020, which claims benefit of U.S. Provisional Application No. 62/346,201 filed Jun. 6, 2016, the specification of which is incorporated herein by reference.

TECHNICAL FIELD

The present disclosure relates generally to memory devices, and more particularly, to apparatuses and methods for a memory protocol.

BACKGROUND

Memory devices are typically provided as internal, semiconductor, integrated circuits in computers or other electronic devices. There are many different types of memory including volatile and non-volatile memory. Volatile memory can require power to maintain its data and includes random-access memory (RAM), dynamic random access memory (DRAM), and synchronous dynamic random access memory (SDRAM), among others. Non-volatile memory can provide persistent data by retaining stored data when not powered and can include NAND flash memory, NOR flash memory, read only memory (ROM), Electrically Erasable Programmable ROM (EEPROM), Erasable Programmable ROM (EPROM), and resistance variable memory such as phase change random access memory (PCRAM), resistive random access memory (RRAM), and magnetoresistive random access memory (MRAM), among others.

Memory is also utilized as volatile and non-volatile data storage for a wide range of electronic applications. Non-volatile memory may be used in, for example, personal computers, portable memory sticks, digital cameras, cellular telephones, portable music players such as MP3 players, movie players, and other electronic devices. Memory cells can be arranged into arrays, with the arrays being used in memory devices.

Memory can be part of a memory module (e.g., a dual in-line memory module (DIMM)) used in computing devices. Memory modules can include volatile, such as DRAM, for example, and/or non-volatile memory, such as Flash memory or RRAM, for example. The DIMMs can be using a main memory in computing systems.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 is a block diagram of an apparatus in the form of a computing system including a memory system in accordance with a number of embodiments of the present disclosure.

FIGS. 2A-2C illustrate registers and commands associated with a block buffer in accordance with a number of embodiments of the present disclosure.

FIG. 3 illustrates a read command that includes read increment information in accordance with a number of embodiments of the present disclosure.

FIG. 4 illustrates of a number of read commands and a barrier command in accordance with a number of embodiments of the present disclosure.

FIG. 5 illustrates a read command and a write command that includes burst length information in accordance with a number of embodiments of the present disclosure.

FIGS. 6A-6D illustrate a register to indicate a size of a read buffer and write buffer in accordance with a number of embodiments of the present disclosure.

DETAILED DESCRIPTION

The present disclosure includes apparatuses and methods related to a memory protocol. An example apparatus can perform operations on a number of block buffers on the memory device based on commands received from a host using a block configuration register, wherein the operations can read data from the number of block buffers and write data to the number of block buffers on the memory device.

In one or more embodiments of the present disclosure, a block configuration register can be used to define a number of block buffers on a memory device. A host can have direct access to the block buffers and execute read and/or write commands on the block buffers. The block configuration register can include pairs of associated block buffer registers and target address registers, wherein the block buffer registers each include a start address and an end address for each block buffer and the target address registers each include a target address in a memory array associated with each block buffer. The host can send read and/or write commands to the memory device to read and/or write data from the block buffers associated with the start address, the end address, and the target address of the block buffers. The block configuration register can also include a status register that includes status information for data in the block buffers that is updated by the host as read and/or write commands are received and executed by memory device.

In one or more embodiments of the present disclosure, the memory protocol can be used to perform operations with deterministic and/or non-deterministic timing. The memory protocol can include sending read commands with a read increment value, wherein the read increment value indicates to the controller a value by which to increment a counter that is used to assign a memory device read identification number to the read command. The memory can include sending a barrier command from a host, wherein the barrier command indicates that commands previously received by the memory device are to be performed before commands received by the memory device subsequent to the barrier command.

In one or more embodiments, the memory protocol can include sending commands with a burst length signal that indicates a burst length for the memory device. The burst length signal can be based on a size of request for the command and/or on a type memory device on which the command will be executed. The memory protocol can include sending commands to set a buffer register that configures a buffer having a read buffer portion of a first particular size and a write buffer portion of a second particular size.

In the following detailed description of the present disclosure, reference is made to the accompanying drawings that form a part hereof, and in which is shown by way of illustration how a number of embodiments of the disclosure may be practiced. These embodiments are described in sufficient detail to enable those of ordinary skill in the art to practice the embodiments of this disclosure, and it is to be understood that other embodiments may be utilized and that process, electrical, and/or structural changes may be made without departing from the scope of the present disclosure. As used herein, the designator “N” indicates that a number of the particular feature so designated can be included with a number of embodiments of the present disclosure.

As used herein, “a number of” something can refer to one or more of such things. For example, a number of memory devices can refer to one or more of memory devices. Additionally, designators such as “N”, as used herein, particularly with respect to reference numerals in the drawings, indicates that a number of the particular feature so designated can be included with a number of embodiments of the present disclosure.

The figures herein follow a numbering convention in which the first digit or digits correspond to the drawing figure number and the remaining digits identify an element or component in the drawing. Similar elements or components between different figures may be identified by the use of similar digits. As will be appreciated, elements shown in the various embodiments herein can be added, exchanged, and/or eliminated so as to provide a number of additional embodiments of the present disclosure. In addition, the proportion and the relative scale of the elements provided in the figures are intended to illustrate various embodiments of the present disclosure and are not to be used in a limiting sense.

FIG. 1 is a functional block diagram of a computing system 100 including an apparatus in the form of a number of memory systems 104-1 . . . 104-N, in accordance with one or more embodiments of the present disclosure. As used herein, an “apparatus” can refer to, but is not limited to, any of a variety of structures or combinations of structures, such as a circuit or circuitry, a die or dice, a module or modules, a device or devices, or a system or systems, for example. In the embodiment illustrated in FIG. 1, memory systems 104-1 . . . 104-N can include a one or more memory devices 110-1, . . . , 110-X, 110-Y. In one or more embodiments, the memory devices 110-1, . . . , 110-X, 110-Y can be dual in-line memory modules (DIMM). DIMMs can include volatile memory and/or non-volatile memory, such as a NVDIMM and DRAM DIMM, respectively for example. In a number of embodiments, memory systems 104-1, . . . , 104-N can include a multi-chip device. A multi-chip device can include a number of different memory types and/or memory modules. For example, a memory system can include non-volatile or volatile memory on any type of a module. The examples described below in association with FIGS. 1-4 use a DIMM as the memory module, but the protocol of the present disclosure can be used on any memory system where memory can execute deterministic and/or non-deterministic commands. In FIG. 1, memory system 104-1 is coupled to the host via channel 112-1 and can include memory devices 110-1, . . . , 110-X and memory system 104-N is coupled to the host via channel 112-N and can include memory devices 110-1, . . . , 110-Y. In this example, each memory device 110-1, . . . , 110-X, 110-Y includes a controller 114. Controller 114 can received commands from host 102 and control execution of the commands on a memory device. Also, in a number of embodiments, the protocol of the present disclosure could be implemented by a memory device (e.g., a DIMM) without a controller and execution of the commands using the protocol of the present disclosure could be built into the memory device. The host 102 can send commands to the memory devices 110-1, . . . , 110-X, 110-Y using the protocol of the present disclosure and/or a prior protocol, depending on the type of memory device. For example, the host can use the protocol of the present disclosure to communicate on the same channel (e.g., channel 112-1) with a NVDIMM and a prior protocol to communicate with a DRAM DIMM that are both on the same memory system.

As illustrated in FIG. 1, a host 102 can be coupled to the memory systems 104-1 . . . 104-N. In a number of embodiments, each memory system 104-1 . . . 104-N can be coupled to host 102 via a channel. In FIG. 1, memory system 104-1 is coupled to host 102 via channel 112-1 and memory system 104-N is coupled to host 102 via channel 112-N. Host 102 can be a laptop computer, personal computers, digital camera, digital recording and playback device, mobile telephone, PDA, memory card reader, interface hub, among other host systems, and can include a memory access device, e.g., a processor. One of ordinary skill in the art will appreciate that “a processor” can intend one or more processors, such as a parallel processing system, a number of coprocessors, etc.

Host 102 includes a host controller 108 to communicate with memory systems 104-1 . . . 104-N. The host controller 108 can send commands to the memory devices 110-1, . . . , 110-X, 110-Y via channels 112-1 . . . 112-N. The host controller 108 can communicate with the memory devices 110-1, . . . , 110-X, 110-Y and/or the controller 114 on each of the memory devices 110-1, . . . , 110-X, 110-Y to read, write, and erase data, among other operations. A physical host interface can provide an interface for passing control, address, data, and other signals between the memory systems 104-1 . . . 104-N and host 102 having compatible receptors for the physical host interface. The signals can be communicated between 102 and memory devices 110-1, . . . , 110-X, 110-Y on a number of buses, such as a data bus and/or an address bus, for example, via channels 112-1 . . . 112-N.

The host controller 108 and/or controller 114 on a memory device can include control circuitry, e.g., hardware, firmware, and/or software. In one or more embodiments, the host controller 108 and/or controller 114 can be an application specific integrated circuit (ASIC) coupled to a printed circuit board including a physical interface. Also, each memory device 110-1, . . . , 110-X, 110-Y can include a buffer 116 of volatile and/or non-volatile memory and a register 118. Buffer 116 can be used to buffer data that is used during execution of read commands and/or write commands. The buffer 116 can be split into a write buffer, a read buffer, and a number of block buffers. The amount of space that is dedicated to the write buffer and the amount of space dedicated to the read buffer can be controlled by the host controller 108 programming a number of registers 118. The host can control the amount of space in buffers 116 dedicated to the write buffer and the read buffer based on the type of commands that are being sent to a particular memory device. In a number of embodiments, each memory device 110-1, . . . , 110-X, 110-Y can have a fixed write buffer size and/or a fixed read buffer size. Buffers 116 can include a number of block buffers. The size of each of the number of block buffers can be controlled by the host by programming a number of registers 118. Registers 118 can be programmed to set the starting and ending address of each block register and also a target address in the memory array associated with each block register. The host can read and/or write data to the block registers by sending commands to memory devices 110-1, . . . , 110-X, 110-Y.

The memory devices 110-1, . . . , 110-X, 110-Y can provide main memory for the memory system or could be used as additional memory or storage throughout the memory system. Each memory device 110-1, . . . , 110-X, 110-Y can include one or more arrays of memory cells, e.g., non-volatile memory cells. The arrays can be flash arrays with a NAND architecture, for example. Embodiments are not limited to a particular type of memory device. For instance, the memory device can include RAM, ROM, DRAM, SDRAM, PCRAM, RRAM, and flash memory, among others.

The embodiment of FIG. 1 can include additional circuitry that is not illustrated so as not to obscure embodiments of the present disclosure. For example, the memory systems 104-1 . . . 104-N can include address circuitry to latch address signals provided over I/O connections through I/O circuitry. Address signals can be received and decoded by a row decoder and a column decoder to access the memory devices 110-1, . . . , 110-N. It will be appreciated by those skilled in the art that the number of address input connections can depend on the density and architecture of the memory devices 110-1, . . . , 110-X, 110-Y.

FIGS. 2A-2C illustrate registers and commands associated with a block buffer in accordance with a number of embodiments of the present disclosure. In a number of embodiments, a memory device can include a number of block buffers that are addressable by the host, where the host can send commands to perform read and/or write commands on the block buffers. The size of the block buffers can be indicated by block configuration registers that can be programmed by the host. The size of the block buffers can be programmed to match the size of block in the memory array of the memory device. FIG. 2A illustrates a block buffer address registers 230-0, . . . , 232-R of the block configuration registers and FIG. 2B illustrates target address registers 232-0, . . . , 232-R of the block configuration registers. The block configuration registers includes pairs of associated block buffer address registers and target address registers. Each block buffer address register is associated with a target address in the memory array of the memory device. Data that is written to a block buffer has indicated by the information in the corresponding block buffer registers will be written to the associated target address in the memory array when the data is committed to memory. Data that is being read from the block buffer is located and moved from the associated target address associated to the block. Each block buffer address register can include a buffer start address 235-0, . . . , 235-R, a buffer end address 233-0, . . . , 233-R, and status information 231-0, . . . , 231-R. The buffer start address and buffer end address for each buffer can be used to determine the size of the buffer. The status information can include information indication whether there is valid data in a block buffer, whether data associated with a command have been moved, and/or whether there is a recoverable and/or fatal error in block buffer data. There can also be a status register that stores the status information for each block buffer, so that only the status register needs to be read to determine the status of a particular block buffer.

FIG. 2C illustrates a command 234 for performing an operation in a block buffer. Command 234 includes block buffer window information, which indicates the command will be performed on a block buffer, block buffer select information, which indicates the block buffer on which the command will be executed, and block buffer address information, which indicates the address on the block buffer where data associated with the command will be written to and/or read from.

FIG. 3 illustrates a read command that includes read increment information in accordance with a number of embodiments of the present disclosure. In FIG. 3, a read command 344 can include a read identification number (RID) and read increment information (RID_INC). The read identification number can be used to identify the command. For example, a host can assign a particular read identification number to a command and send the command to the memory device. The memory device can then assign a read identification number to the command. The memory device can include a counter to keep track of which read identification number to assign to a command. The counter is initialized at 0 and is incremented by 1 each time a read command is received by the memory device. In memory devices where commands are executed with non-deterministic timing, commands can be executed in any order by the memory device, therefore incrementing the counter by 1 each time may result in the read identification number assigned to a particular command by the host differing from the read identification number assigned to the particular command by the memory device. For example, the host and memory device can each have 4 available read identification numbers to assign to read commands and can any given read identification number can only be once time at any given time. When the host has assigned and sent all 4 commands to the memory device, but has only received an indication from the memory device that the first, second, and fourth commands have been executed, then the host cannot assign the third identification number to another command until the command with the third identification number has been executed by the memory device. The first and second read identification numbers can be used by the host again, but the third read identification number should not be used by the host. Read increment information can be sent with the read command to indicate to the memory device that a read identification number should be skipped. In example above, the read increment information can include a read increment amount of 1, indicating that the third identification number should be skipped. A memory device can increment the identification number to assign to a command by based on the read increment information, so that the next available read identification number assigned to a command by the host will also be assigned to the command by the memory device. In FIG. 3, the memory device 304 can receive command 344 from host 302 and assign a read identification number 345 that is based on the adding 1 and the value associated with the read increment (RID_INC) information to the most recent read identification number assigned to a command by the memory device 304.

FIG. 4 illustrates of a number of read commands and a barrier command in accordance with a number of embodiments of the present disclosure. In FIG. 4, a host 402 can send read command 444-1, 444-2, and 444-3 and barrier command 446 to a memory device 404. Barrier command 446 can indicate that the commands 444-1, 444-2, and 444-4, which were sent to the memory device 404 prior to the barrier command 446, will be executed before commands 444-4, 444-5, and 444-6, which were sent to the memory device 404 after barrier command 446. In FIG. 4, read identification (RID3) 448-3, which indicates that read command 444-3 has been executed, is sent to the host before barrier command 446 is sent to the memory device. Barrier command 446 indicates that read commands 444-1 and 444-2 are to be executed before any subsequent commands. The host sends read commands 444-4, 444-5, and 444-6 to the memory device after barrier command 446, which will be executed after read command 444-1 and 444-2. The memory device executes read commands 444-1 and 444-2 and sends read identifications 448-1 and 448-2. Once all the commands sent to the memory device before the barrier command are executed, the commands sent to the memory device after the barrier command can be executed. Therefore, the memory device executes read commands 444-4, 444-5, 444-6 and sends read identifications 448-4, 448-5, and 448-6 to the host 402.

In a number of embodiments, barrier commands can apply to all types of commands, only read commands, or only write commands. For example, a read barrier command can be sent to indicate that all read command sent prior to the barrier command are to be executed before any read command sent subsequent to the barrier command. Barrier commands can be used by a host to control the timing of execution of commands when a memory device can execute commands with non-deterministic timing.

FIG. 5 illustrates a read command and a write command that includes burst length information in accordance with a number of embodiments of the present disclosure. In FIG. 5, a read command 544 can include a burst length indication and a write command 562 can include a burst length indication. The burst length can be dynamically changed by the host via an indication in read and/or write commands. A burst length indication can be sent by a host 502 to a memory device 504 in any type of command, including a burst length indication command. The burst length can be changed by the host based on an amount of the data associated with a command, a type of command, a type of memory device on which a command will be executed, and whether latency or bandwidth optimization is desired.

FIGS. 6A-6D illustrate a register to indicate a size of a read buffer and write buffer in accordance with a number of embodiments of the present disclosure. In FIGS. 6A and 6B, a register can be programmed to indicate a number of read entries 652-1 and 652-2 and a number of write entries 654-4 and 654-2. The register can be located on a memory device and a host can program the register. The number of read entries 652-1 and 652-2 and a number of write entries 654-4 and 654-2 indicated in the register can be used to control a size of a read buffer and a write buffer. For example, read entry indication 651-1 can correspond to a read buffer 656-1 having a particular size and write entry indication 654-1 can correspond to a write buffer 658-1 having a particular size. The size of read buffer 656-1 can be smaller than the size of write buffer 658-1. Read entry indication 651-2 can correspond to a read buffer 656-2 having a particular size and write entry indication 654-2 can correspond to a write buffer 658-2 having a particular size. The size of read buffer 656-2 can be larger than the size of write buffer 658-1 and read buffer 656-1. The read entry indication 652 and write entry indication 654 in the register can be updated by the host based on the relative quantities of read and write commands that are being issued by the host. The read entry indication 652 and write entry indication 654 can be updated whenever the current read and/or write buffer entries can be accommodated by the update read and/or write indication.

In a number of embodiments, a buffer can include both read and write entries and a register can be programmed to define a threshold number of read entries for the buffer and a threshold number of write entries for the buffer. The host can track the number of outstanding read entries and write entries in the buffer to ensure that the buffer does not contain more entries than threshold number of read entries and the threshold number of write entries defined by the register. The register can be updated to changes the threshold number of read entries for the buffer and a threshold number of write entries for the buffer.

Although specific embodiments have been illustrated and described herein, those of ordinary skill in the art will appreciate that an arrangement calculated to achieve the same results can be substituted for the specific embodiments shown. This disclosure is intended to cover adaptations or variations of various embodiments of the present disclosure. It is to be understood that the above description has been made in an illustrative fashion, and not a restrictive one. Combination of the above embodiments, and other embodiments not specifically described herein will be apparent to those of skill in the art upon reviewing the above description. The scope of the various embodiments of the present disclosure includes other applications in which the above structures and methods are used. Therefore, the scope of various embodiments of the present disclosure should be determined with reference to the appended claims, along with the full range of equivalents to which such claims are entitled.

In the foregoing Detailed Description, various features are grouped together in a single embodiment for the purpose of streamlining the disclosure. This method of disclosure is not to be interpreted as reflecting an intention that the disclosed embodiments of the present disclosure have to use more features than are expressly recited in each claim. Rather, as the following claims reflect, inventive subject matter lies in less than all features of a single disclosed embodiment. Thus, the following claims are hereby incorporated into the Detailed Description, with each claim standing on its own as a separate embodiment. 

What is claimed is:
 1. An apparatus, comprising: a memory device; and a controller coupled to the memory device configured to: perform operations on the memory device based on a read command received from a host that includes a read increment value, wherein the read increment value indicates to the controller a value by which to increment a counter that is used to assign a memory device read identification number to the read command.
 2. The apparatus of claim 1, wherein the host also increments a host read identification number by the read increment value.
 3. The apparatus of claim 1, wherein the read increment value allows the host to continue to send read commands to the apparatus when the apparatus has not completed execution of previously sent read commands.
 4. The apparatus of claim 1, wherein the read increment value allows the apparatus to execute read commands in an order that in determined by the controller.
 5. The apparatus of claim 1, wherein the controller is configured to assign the memory read identification number to the read command received by the memory device by incrementing a counter by 1 plus the read increment value included in the read command sent from the host.
 6. The apparatus of claim 1, wherein the controller is configured to skip memory device read identification numbers that have not been executed by incrementing the counter according to the read increment value.
 7. The apparatus of claim 1, wherein the controller is configured to send an indication to the host that the read command has been executed.
 8. An apparatus, comprising: a memory device, wherein the memory device includes a controller configured to: perform operations on the memory device based on a read command received from a host that includes a read increment value, wherein the read increment value indicates to the controller a value by which to increment a counter that is used to assign a memory device read identification number to the read command and wherein the controller is configured to skip memory device read identification numbers that have not been executed by incrementing the counter according to the read increment value.
 9. The apparatus of claim 8, wherein the host also increments a host read identification number by the read increment value that allows the host to continue to send read commands to the apparatus when the apparatus has not completed execution of previously send read commands.
 10. The apparatus of claim 8, wherein the read increment value allows the apparatus to execute read commands in an order that is determined by the controller.
 11. The apparatus of claim 8, wherein the controller is configured to execute the read command subsequent to executing another read command.
 12. The apparatus of claim 8, wherein the controller is configured to send an indication to the host that the read command has been executed.
 13. The apparatus of claim 12, wherein the controller is to receive another read command from the host with a same host read increment value as the read command.
 14. A method for performing operations on a memory device, comprising: receiving a read command at the memory device from a host that includes a read increment value; and assigning, by a controller on the memory device, a memory device read identification number to the read command based on a counter that is incremented by the read increment value, wherein the controller is configured to assign the memory read identification number to the read command received by the memory device by incrementing the counter by 1 plus the read increment value included in the read command sent from the host.
 15. The method of claim 14, further including incrementing, by the host, a host read identification number by the read increment value that allows the host to continue to send read commands to the memory device when the memory device has not completed execution of previously send read commands.
 16. The method of claim 14, wherein the read increment value allows the memory device to execute read commands in an order that is determined by the controller.
 17. The method of claim 14, further including skipping memory device read identification numbers that have not been executed by incrementing the counter according to the read increment value.
 18. The method of claim 14, further including executing the read command subsequent to executing another read command.
 19. The method of claim 14, further including sending an indication from the memory device to the host that the read command has been executed.
 20. The method of claim 19, further including receiving another read command from the host with a same host read increment value as the read command. 